package com.example.demo.service;

import com.example.demo.pojo.Topic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ITopicService {
    int deleteByPrimaryKey(Integer id);

    int insert(Topic record);

    int insertSelective(Topic record);

    Topic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Topic record);

    int updateByPrimaryKey(Topic record);

    List<Topic> selectTopic();

    List<Topic> selectTopicByIfc(String ifc);

    List<Topic> selectTopicByIfcLeixing(@Param("ifc")String ifc, @Param("leixing")String leixing);

    List<Topic> selectTopicByIfcIcon(@Param("ifc")String ifc, @Param("icon")Integer icon);

    List<Topic> selectTopicByIfcSuiji(String ifc);

    List<Topic> selectTopicByIfcNdu(@Param("ifc")String ifc, @Param("ndu")Integer ndu);

    List<Topic> selectTopicByTid(Integer tid);
}